<%-- 
    Document   : avgodc-input
    Created on : 24 Jun 11, 10:53:49
    Author     : Bayu
--%>

<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <jsp:include page="includes/script.html"/>

        <title>Input</title>
    </head>

    <body>
        <center>
        <h2>Avg Forc Input</h2>
        <br>

        <form method="post">



            <table>
                <tr>
                    <td>Month</td>
                    <td>
                        <select name="month">
                            <option value="01">Jan</option>
                            <option value="02">Feb</option>
                            <option value="03">Mar</option>
                            <option value="04">Apr</option>
                            <option value="05">Mei</option>
                            <option value="06">Jun</option>
                            <option value="07">Jul</option>
                            <option value="08">Aug</option>
                            <option value="09">Sep</option>
                            <option value="10">Oct</option>
                            <option value="11">Nov</option>
                            <option value="12">Des</option>
                        </select>
                        <select name="year">
                          <c:forEach var="i" begin="${minYear}" end="${maxYear}">
                               <c:choose>
                                <c:when test="${year == i}">
                                    <c:set var="select" value="selected"></c:set>
                                </c:when>
                                <c:otherwise>
                                    <c:set var="select" value=""></c:set>
                                </c:otherwise>
                               </c:choose>
                              <option value="${i}" ${select}>${i}</option>
                          </c:forEach>
                        </select>
                    </td>

                </tr>
                <tr>
                    <td>Forc</td>
                    <td><input type="text" name="avgforce"></td>
                </tr>
                

                <tr>
                    <td colspan="2" align="right"><input  type="submit" name="submit" value="Save" ></td>
                </tr>
            </table>
        </form>

</center>

    </body>
</html>



